package com.pubinfo.passbook.common.service.master.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pubinfo.passbook.common.entity.TFileEnclosureFtp;
import com.pubinfo.passbook.common.entity.TFileInfo;
import com.pubinfo.passbook.common.mapper.TFileEnclosureFtpMapper;
import com.pubinfo.passbook.common.service.master.ITFileEnclosureFtpService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author xuhong
 * @since 2021-12-07
 */
@Service
public class TFileEnclosureFtpServiceImpl extends ServiceImpl<TFileEnclosureFtpMapper, TFileEnclosureFtp> implements ITFileEnclosureFtpService {
  
  @Override
  public Boolean updateTFileEnclosureFtp(String instanceId, String http) {
    return this.baseMapper.updateTFileEnclosureFtp(instanceId, http);
  }
  
  @Override
  public List<TFileEnclosureFtp> getTFileEnclosureFtpByIds(List<String> tFileEnclosureFtpIds) {
    return this.baseMapper.getTFileEnclosureFtpByIds(tFileEnclosureFtpIds);
  }

  @Override
  public List<TFileInfo> selectEnclosureByInstanceId(String instanceId) {
    return this.baseMapper.selectEnclosureByInstanceId(instanceId);
  }
}
